package com.inspur.dgov.policy.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.inspur.dgov.policy.entity.FileAnalysis;
import com.inspur.dgov.policy.mapper.FileAnalysisMapper;
import com.inspur.dgov.policy.service.FileAnalysisService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * 政策解读信息表 服务实现类
 *
 * @author chiyupei
 * @version 1.0
 * @since 1.0
 */
@Slf4j
@Service
@AllArgsConstructor
public class FileAnalysisServiceImpl extends ServiceImpl<FileAnalysisMapper, FileAnalysis> implements FileAnalysisService {

    /**
     * 政策解读信息分页数据
     * @param page
     * @param params
     * @return
     */
    @Override
    public IPage<FileAnalysis> selectAnalysisPage(Page page, Map<String, Object> params) {
        return baseMapper.selectAnalysisPage(page, params);
    }
}
